<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/include/head.jsp"%>
<div id="cc" class="easyui-layout" style="width:100%;height:100%;">   
	<div data-options="region:'center',title:'路程距离-${vo.srcName}信息'" style="padding:5px;background:#eee;">
		<form id="editForm"   method="post" enctype="multipart/form-data" >
			<input name="id" type="hidden" value="${vo.id}">
			<table cellpadding="0" cellspacing="1" class="formtable">
				<tr>
				<td align="right"><label class="Validform_label">源名称:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="srcName" name="srcName"
				 data-options="required:true,readonly:true" value="${vo.srcName}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">源地址:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="srcAddr" name="srcAddr"
				 data-options="required:true,readonly:true" value="${vo.srcAddr}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">源经度:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="srcLong" name="srcLong"
				 data-options="required:true,readonly:true" value="${vo.srcLong}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">源维度:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="srcLat" name="srcLat"
				 data-options="required:true,readonly:true" value="${vo.srcLat}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">目的地名称:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="desName" name="desName"
				 data-options="required:true,readonly:true" value="${vo.desName}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">目的地地址:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="desAddr" name="desAddr"
				 data-options="required:true,readonly:true" value="${vo.desAddr}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">目的经度:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="desLong" name="desLong"
				 data-options="required:true,readonly:true" value="${vo.desLong}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">目的维度:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="desLat" name="desLat"
				 data-options="required:true,readonly:true" value="${vo.desLat}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">距离:</label></td>
				<td class="value">
				<input class="easyui-numberbox" type="text"  id="distance" name="distance"
				 data-options="required:true,readonly:true" value="${vo.distance}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">create_by:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="createBy" name="createBy"
				 data-options="required:true,readonly:true" value="${vo.createBy}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">create_time:</label></td>
				<td class="value">
				<input class="easyui-datebox" type="text"  id="createTime" name="createTime"
				 data-options="required:true,readonly:true" value="${vo.createTime}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">update_by:</label></td>
				<td class="value">
				<input class="easyui-textbox" type="text"  id="updateBy" name="updateBy"
				 data-options="required:true,readonly:true" value="${vo.updateBy}" />
				</td>
				</tr>
				<tr>
				<td align="right"><label class="Validform_label">update_time:</label></td>
				<td class="value">
				<input class="easyui-datebox" type="text"  id="updateTime" name="updateTime"
				 data-options="required:true,readonly:true" value="${vo.updateTime}" />
				</td>
				</tr>
			</table>
		</form>
	</div>
	<div data-options="region:'south'" style="height:35px;text-align: center;padding-top: 5px">
	 	<a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit'" onclick="edit()" >修改</a>  
	 	<a id="btncancel" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="closeDialog()">关闭</a>  
	 </div>
</div>   
<script type="text/javascript">
var dialog = frameElement.dialog;
$(function() {
	 
});

function edit(){
	document.location.href='editForm.do?id=${vo.id}';  
}
function closeDialog()
{
	dialog.dialog("close");
}

</script>
<%@include file="/include/foot.jsp"%>